//对外暴露配置路由(常量路由):全部用户都可以访问到的路由
// @ts-ignore
import Home from '@/views/user/index/index.vue'
import {manageRouter} from "@/router/manageRouter.ts";
import {userRouter} from "@/router/userRouter.ts";

export const constantRouter = [
    ...userRouter,
    ...manageRouter
    // {
    //     path: '/demo',
    //     name: 'demo',
    //     component: () => import('@/views/demo1/index.vue'),
    //     meta: {
    //         title: '登录',
    //         hidden: true,
    //         icon: '',
    //     },
    // }
    // {
    //     path: '/404',
    //     name: '404page',
    //     component: () => import('@/views/404/index.vue'),
    // },
    // // 未知路由重定向
    // {
    //     path: '/:pathMatch(.*)',
    //     redirect: '/404',
    //     hidden: true
    // }
]
export const asnycRoute = []
